package com.atguigu.proxy.dynamic;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 被代理对象
 * @create: 2022-02-25 09:51
 **/
public class TeacherDao implements ITeacherDao{
    @Override
    public void teach() {
        System.out.println("老师正在授课中~");
    }

    @Override
    public void sayHello(String name) {
        System.out.println("hello " + name);
    }
}
